package com.woniu.outlet.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("仓库对象参数")
public class WarehousePo {

    @ApiModelProperty(value="仓库id")
    private Long id;

    @ApiModelProperty(value="仓库编码")
    private String warehouseCode;

    @ApiModelProperty(value="所属部门")
    @NotNull(message = "部门id不能为空")
    private Long deptId;

    @ApiModelProperty(value="仓库名称")
    private String warehouseName;

    @ApiModelProperty(value="启用状态")
    private String enableStatus;

    @ApiModelProperty(value="备注")
    private String remarks;

    @ApiModelProperty(value="备用字段1")
    private String spare1;

    @ApiModelProperty(value="备用字段2")
    private String spare2;

    @ApiModelProperty(value="备用字段3")
    private String spare3;


}